package com.qst.binzhou2022.services;

import com.qst.binzhou2022.beans.ClassInfo;
import com.qst.binzhou2022.beans.StuInfo;
import com.qst.binzhou2022.mapper.ClassInfoMapper;
import com.qst.binzhou2022.mapper.StuInfoMapper;
import com.qst.binzhou2022.utils.MybatisUtils;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author spengda
 * @date 2022/4/715:21
 */
public class ClassInfoService {


    public ClassInfo getStuInfoJoinClassInfo(ClassInfo classInfo) {

        ClassInfoMapper classInfoMapper = (ClassInfoMapper)MybatisUtils.getInstance().getMapper(ClassInfoMapper.class);


        return classInfoMapper.getClassInfoAndStuInfo(classInfo);

    }
}
